Skip to content

feat: implement persistent unread notification badge with realtime count#138

Merged
Ayushh-Sharmaa merged 1 commit into
Ayushh-Sharmaa:mainfrom
Nagajyothi-tammisetti:feature/unread-notification-badge
Jun 4, 2026
Merged

feat: implement persistent unread notification badge with realtime count#138
Ayushh-Sharmaa merged 1 commit into
Ayushh-Sharmaa:mainfrom
Nagajyothi-tammisetti:feature/unread-notification-badge

Conversation

@Nagajyothi-tammisetti

Copy link
Copy Markdown
Contributor

Related Issue

Closes #134

Changes Made

Backend

  • Added isRead and readAt fields to notifications
  • Added unread count endpoint
  • Added mark-all-read endpoint
  • Added realtime unread count socket event

Frontend

  • Added unread badge on notification bell
  • Persisted count across refreshes
  • Added realtime badge updates
  • Reset count when notifications are viewed

Testing

  • Verified unread count persistence
  • Verified realtime updates through WebSocket
  • Verified mark-all-read functionality
  • Verified badge reset behavior

@vercel

vercel Bot commented Jun 4, 2026

Copy link
Copy Markdown

@Nagajyothi-tammisetti is attempting to deploy a commit to the ayushh-sharmaa's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions github-actions Bot added priority:low Low priority needs-pr-fixes PR requires fixes before proceeding labels Jun 4, 2026
@github-actions

github-actions Bot commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

PR Validation Failed

The following required elements are missing:

  • Non-empty Description section
  • Checklist section with at least one checkbox

Please edit your PR description to include them, then push a new commit or re-save the description. 📝

@github-actions github-actions Bot added the dco-missing One or more commits missing Signed-off-by label Jun 4, 2026
@github-actions

github-actions Bot commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

⚠️ DCO Sign-off Missing

The following commit(s) are missing a Signed-off-by: line:

  • 308119f — feat: add persistent unread notification badge

How to fix:

# For the last commit:
git commit --amend --signoff
git push --force-with-lease

# For multiple commits (replace N with the count):
git rebase HEAD~1 --signoff
git push --force-with-lease

By signing off, you certify that you have the right to submit this contribution under the project's license. See DCO. ✍️

@github-actions

github-actions Bot commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

⚠️ @Nagajyothi-tammisetti — your PR body doesn't declare a program (GSSoC/NSoC/General). Please update your description to include the program name. 📝

@github-actions github-actions Bot added the size/M 50–149 lines changed label Jun 4, 2026
@Ayushh-Sharmaa Ayushh-Sharmaa merged commit 9da0c71 into Ayushh-Sharmaa:main Jun 4, 2026
12 of 13 checks passed
@github-actions github-actions Bot added the mentor:Ayushh-Sharmaa Reviewed/assigned by mentor Ayushh-Sharmaa label Jun 4, 2026
@github-actions

github-actions Bot commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

ℹ️ No mentor:* label was found on this PR at merge time. The fallback label mentor:Ayushh-Sharmaa has been applied automatically. If this is incorrect, a maintainer can update it. 🏷️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dco-missing One or more commits missing Signed-off-by mentor:Ayushh-Sharmaa Reviewed/assigned by mentor Ayushh-Sharmaa needs-pr-fixes PR requires fixes before proceeding priority:low Low priority size/M 50–149 lines changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

unread notification badge missing (feature)

2 participants